home *** CD-ROM | disk | FTP | other *** search
/ Practical Internet Web Designer 89 / PIWD89.iso / pc / CONTENTS / BONUS / FULL / wikiwriter / setup-ww2x.exe / {app} / help / styles.db < prev    next >
Text File  |  2002-11-23  |  4KB  |  149 lines

  1. @@title WikiWRiter Help: Styles
  2. @@inc helptoc
  3. == Styles
  4. This is the default CSS file for WikiWriter. The dropdown reminder lists show classes from this style sheet according to these rules:
  5. # A line that begins with a period will show in the list.
  6. # A line that begins with a letter or a space will not show — use a space in front of a style name to hide it from the lists.)
  7. # Comments inside markers /* and */ become the description in the dropdown list — keep them short.
  8. # Styles in the DIV Styles section will appear in the [[b DIV Styles]] dropdown, and styles in the SPAN Styles section will appear in the [[b SPAN Styles]] dropdown. to prevent a style from showing in the dropdowns, use a leading space before the style name (see the send rule for [[b .tight]] and the rule for [[b .here]] near the end fo the CSS listing).
  9. /#
  10.  
  11.  
  12. <pre>
  13.  
  14. /* WikiWriter default style sheet. */
  15. body
  16.   { background-color: #f5f5f5;
  17.     color:            #000000;
  18.     margin-right:     3%;
  19.     margin-left:      3%; }
  20.  
  21. /* ------------ LINK styles -----------*/
  22. a:link
  23.   { color:      #97694f;
  24.     background: transparent; }
  25. a:visited
  26.   { color:      #4e2f2f;
  27.     background: transparent; }
  28. a:active
  29.   { color:      #7f3030;
  30.     background: transparent; }
  31. a.title
  32.   { text-decoration: none; }
  33. img
  34.   { border: 0; }
  35.  
  36. /* ------------ DIV styles -----------*/
  37. .logo /*float right */
  38.   { float: right; }
  39. .body /*top margin 0 */
  40.   { margin-top: 0;}
  41. .head /*gray bg, red bottom border */
  42.   { width: 100%;
  43.     border-bottom: thin solid maroon;
  44.     color: #4e2f2f;
  45.     margin-top: 0;
  46.     background: #dddddd;
  47.     padding: 0.5em;}
  48. .nav /*float right, right-align text*/
  49.   { float: right;
  50.     text-align: right;
  51.     font-weight: bold; }
  52. .plan /*gray bg*/
  53.   { color: #663333;
  54.     background: #cccccc;
  55.     padding: 1em}
  56. .toc /*float right, gray bg, black border*/
  57.   { float: right;
  58.     clear: right;
  59.     border: thin solid black;
  60.     background: #dddddd;
  61.     margin-top: 0.5em;
  62.     padding: 0.5em;}
  63. .toc p /*0 top-bottom margin*/
  64.   { margin-top: 0;
  65.     margin-bottom: 0; }
  66. .result /*red border, centered*/
  67.   { border: medium solid maroon;
  68.     margin-left: 8%;
  69.     margin-right: 8%;
  70.     margin-top: 1em;
  71.     margin-bottom: 1em;
  72.     padding: 0.5em;}
  73.   .result h1, .result h2, .result h3, .result h4, .result h5, .result h6
  74.   { margin-top: 1em;
  75.     margin-bottom: 1em; }
  76. .comment /*red border, float left*/
  77.   { float: left;
  78.     border:medium solid maroon;
  79.     padding: 4px;
  80.     font-weight: bold; }
  81. .col2 /*half-page col*/
  82.   { float: left;
  83.     width: 49%;
  84.     padding: 0.5em}
  85. .col3 /*third-page col*/
  86.   { float: left;
  87.     width: 32%;
  88.     padding: 0.5em}
  89. .col4 /*quarter-page col*/
  90.   { float: left;
  91.     width: 24%;
  92.     padding: 0.5em}
  93. .floatleft
  94.   { float: left;
  95.     margin-right: 3%;}
  96. .floatright
  97.   { float: right;
  98.     margin-left: 3%;}
  99. .indent
  100.   { margin-left: 2em; }
  101. .cent /*center*/
  102.   { text-align: center }
  103. .tight /*no extra linespace*/
  104.   { margin-top: 0px;
  105.     margin-bottom: 0px; }
  106.  .tight p, .tight h3, .tight h4
  107.   { margin-top: 0px;
  108.     margin-bottom: 0px; }
  109.  
  110. /* ------------ HTML styles -----------*/
  111. td
  112.   { vertical-align: top; }
  113. pre, tt
  114.   { background: transparent;
  115.     color:      #383838; }
  116. pre
  117.   { margin-top: 0;
  118.     margin-bottom: 0;
  119.     color: maroon; }
  120. h1, h2, h3, h4, h5, h6
  121.   { margin-top: 1em;
  122.     color: maroon; }
  123. textarea
  124.   { width: 100%; }
  125. dl, ul, ol
  126.   { margin-top:    0px;
  127.     margin-bottom: 0px; }
  128. dt
  129.   { font-weight: bold; }
  130. form
  131.   { margin-top: 0px; }
  132.  
  133. /* ------------ SPAN styles -----------*/
  134. .warning /*red text*/
  135.   { color:      #ff3f3f;
  136.     background: transparent; }
  137. .rev /*cyan text, blue bg*/
  138.   { color: #00ffff;
  139.     background: #0000ff; }
  140.  .here a:link, .here a:visited, .here a:active
  141.   { color: #ffffff;
  142.     background: #666666;
  143.     text-decoration: none; }
  144. .b /*bold*/
  145.   { font-weight: bold; }
  146. .i /*italic*/
  147.   { font-style: italic; }
  148. </pre>
  149.